package com.seari.custody.service;

import afu.org.checkerframework.checker.oigj.qual.O;
import com.seari.custody.bean.SpecialProtection;
import com.seari.custody.bean.SpecialWord;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;
import java.util.Map;

public interface SpecialProtectionService {


    /**
     * 判断是否满足生成专项方案模板要求
     */
    String SpecialProtectionType(Map<String, String> map) throws Exception;

    /**
     *
     * @param spword 专项保护方案的获取的实体类
     * @return 返回实体类相应的数据
     */
    List<SpecialWord> SpecialList(SpecialWord spword);


    Map<String, String> SpecialProtectionPass(Map<String, String> map)throws Exception;

    /**
     * 根据uuid获取专项保护方案的档案系统ID
     * @param map
     * @return
     * @throws Exception
     */
    Map<String, Object>  specialProtectionPlanId(Map<String, String> map) throws Exception;


    void uploadingSpecialProtection(MultipartFile file, String uuid) throws Exception;
}
